import request from '@/utils/request'

// 查询基金变量列表
export function listFundProperties(query) {
  return request({
    url: '/properties/fundProperties/list',
    method: 'get',
    params: query
  })
}

// 查询基金变量详细
export function getFundProperties(id) {
  return request({
    url: '/properties/fundProperties/' + id,
    method: 'get'
  })
}

// 保存基金变量
export function saveFundProperties(data) {
  return request({
    url: '/properties/fundProperties/save',
    method: 'post',
    data: data
  })
}

// 删除基金变量
export function delFundProperties(id) {
  return request({
    url: '/properties/fundProperties/' + id,
    method: 'delete'
  })
}

// 导出基金变量
export function exportFundProperties(query) {
  return request({
    url: '/properties/fundProperties/export',
    method: 'get',
    params: query
  })
}
